package com.isdepci.project.gasEmission.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import java.math.BigDecimal;

/**
 * 差旅对象 tpf_business_travel
 *
 * @author isdepci
 * @date 2023-09-01
 */
public class BusinessTravel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 差旅类型(1燃料数量/2距离) */
    @Excel(name = "差旅类型(1燃料数量/2距离)")
    private Integer travelType;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 交通工具所有权和控制权 */
    @Excel(name = "交通工具所有权和控制权")
    private String vehicleOwnershipAndControl;

    /** 所用燃料类型 */
    @Excel(name = "所用燃料类型")
    private String fuelType;

    /** 年消耗量 */
    @Excel(name = "年消耗量")
    private BigDecimal quantityPerYear;

    /** 方式和细节 */
    @Excel(name = "方式和细节")
    private String modeAndDetails;

    /** 每年人-千米 */
    @Excel(name = "每年人-千米")
    private BigDecimal passengerKmPerYear;

    /** 关联首页表 */
    @Excel(name = "关联首页表")
    private Long infoId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTravelType(Integer travelType)
    {
        this.travelType = travelType;
    }

    public Integer getTravelType()
    {
        return travelType;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setVehicleOwnershipAndControl(String vehicleOwnershipAndControl)
    {
        this.vehicleOwnershipAndControl = vehicleOwnershipAndControl;
    }

    public String getVehicleOwnershipAndControl()
    {
        return vehicleOwnershipAndControl;
    }
    public void setFuelType(String fuelType)
    {
        this.fuelType = fuelType;
    }

    public String getFuelType()
    {
        return fuelType;
    }
    public void setQuantityPerYear(BigDecimal quantityPerYear)
    {
        this.quantityPerYear = quantityPerYear;
    }

    public BigDecimal getQuantityPerYear()
    {
        return quantityPerYear;
    }
    public void setModeAndDetails(String modeAndDetails)
    {
        this.modeAndDetails = modeAndDetails;
    }

    public String getModeAndDetails()
    {
        return modeAndDetails;
    }
    public void setPassengerKmPerYear(BigDecimal passengerKmPerYear)
    {
        this.passengerKmPerYear = passengerKmPerYear;
    }

    public BigDecimal getPassengerKmPerYear()
    {
        return passengerKmPerYear;
    }
    public void setInfoId(Long infoId)
    {
        this.infoId = infoId;
    }

    public Long getInfoId()
    {
        return infoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("travelType", getTravelType())
            .append("description", getDescription())
            .append("vehicleOwnershipAndControl", getVehicleOwnershipAndControl())
            .append("fuelType", getFuelType())
            .append("quantityPerYear", getQuantityPerYear())
            .append("modeAndDetails", getModeAndDetails())
            .append("passengerKmPerYear", getPassengerKmPerYear())
            .append("infoId", getInfoId())
            .toString();
    }
}
